Spread Windows Forms 12.0 Product Documentation
SetValue(Int32,Int32,Object[,],Boolean) Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IWorksheet Interface > SetValue Method : SetValue(Int32,Int32,Object[,],Boolean) Method
Row index of the start of the range of cells
Column index of the start of the range of cells
Two-dimensional object array[row,column] that contains the values
if True, array will be set follow column index, other, it will be set follow row index.
Sets an object array into a specified range of cells.
Syntax
'Declaration
 
Overloads Function SetValue( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal values(,) As Object, _
   ByVal vertical As Boolean _
) As Boolean
'Usage
 
Dim instance As IWorksheet
Dim row As Integer
Dim column As Integer
Dim values() As Object
Dim vertical As Boolean
Dim value As Boolean
 
value = instance.SetValue(row, column, values, vertical)
bool SetValue( 
   int row,
   int column,
   object[,] values,
   bool vertical
)

Parameters

row
Row index of the start of the range of cells
column
Column index of the start of the range of cells
values
Two-dimensional object array[row,column] that contains the values
vertical
if True, array will be set follow column index, other, it will be set follow row index.
See Also

Reference

IWorksheet Interface
IWorksheet Members
Overload List